//
//  WeiWanCCell.m
//  ZhiBoYuan
//
//  Created by Coder_di on 2018/6/7.
//  Copyright © 2018年 apple. All rights reserved.
//

#import "WeiWanCCell.h"

@implementation WeiWanCCell

-(instancetype)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
if (self) {
    
    self.namelable = [[YYLabel alloc]initWithFrame:CGRectMake(0,0, screenWidth, 30 * KscreenHeight)];
//    self.namelable = [[UILabel alloc]initWithFrame:self.contentView.frame];
    
//    self.namelable.textAlignment = NSTextAlignmentLeft;
    self.namelable.font = [UIFont systemFontOfSize:15 * KscreenWidth];
//    self.namelable.text = @"孙悟空";
    self.namelable.numberOfLines = 0;
    self.namelable.lineBreakMode = NSLineBreakByWordWrapping;
    [self.contentView addSubview:self.namelable];
    

}
return self;
}

@end
